package com.demo.design.behavioral.mediator;

import com.demo.design.behavioral.mediator.impl.DartzonColleague;
import com.demo.design.behavioral.mediator.impl.LowanColleague;
import com.demo.design.behavioral.mediator.impl.RealMediator;

public class MediatorMain {

    public static void main(String[] args) {
        Mediator mediator = new RealMediator();
        Colleague dartzon = new DartzonColleague("dartzon001", mediator);
        Colleague lowan = new LowanColleague("lowan0001", mediator);

        dartzon.send("AMVIKSN14GP54");
        lowan.send("54254521KSIGNB&");
    }
}
